import ajax from '@/utils/ajax'
import type { CustomResponse } from 'uni-ajax'
import type * as dyNoticeModel from '@/api/model/dyNoticeModel'
class DyNoticeService {
    /**
     * 获取用户犯法
     */
    listByType(
        params: dyNoticeModel.IListByTypeParams
    ): Promise<CustomResponse<Array<dyNoticeModel.IListByTypeRes>>> {
      return ajax.get('/dy/dyNotice/listByType',params)
    }
  }
  
  export default new DyNoticeService()
  